package com.dale.common.dto;


import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class CommentDto {
    private Long cid;

    private Long uid;

    private String author;

    private Long parentCid;  //哪个评论的
    private Long touserId;  //哪个评论的


    private String touser;

    private Long bid; //哪个博客的

    private String avatar;

    private LocalDateTime created;

    private LocalDateTime updated;

    private String content;

    private List<CommentDto> commentDtoList;

    private String toUser; //发送给谁

    @TableLogic
    private Integer delFlag;
}
